{% extends 'basic_app/master.html' %}
{% block tag_left %}
    {% include 'oratk_app/tag_left_user.html' %}
{% endblock %}
{% block title %}
    <title>ORATK</title>
{% endblock %}
{% block userinfo %}
    <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
        <h2 class="page-header">监控项项详情</h2>
        <form class="form-horizontal" action={{ request.path }}   method="post">
            <div class="form-group" style="display:none" >
                <label  class="col-sm-2 control-label">id：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="id" name="v_id" value={{ more_result.id }} >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">name：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="名称" name="add_name" value={{ more_result.name }} >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">desc：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="描述" name="add_minute" value={{ more_result.desc }} >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">sqltext：</label>
                <div class="col-sm-10">
                    <textarea type="text" class="form-control" style="height: 180px;"  placeholder="小时" name="add_hour" >{{ more_result.sqltext }}</textarea>
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">limit：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="阈值" name="add_day_of_week" value={{ more_result.limit }} >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">status：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="状态" name="add_day_of_month" value={{ more_result.status }} >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">remake：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="备注" name="add_month_of_year" value={{ more_result.remake }} >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">cr_time：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="创建时间"  name="add_timezone" value={{ more_result.crtime }} >
                </div>
            </div>
            <div class="form-group">
                <label  class="col-sm-2 control-label">cr_time：</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="修改时间"  name="add_timezone" value={{ more_result.crtime }} >
                </div>
            </div>
            <div class="col-sm-10">
                <div style="text-align:center;vertical-align:middle;"><button type="submit" class="btn ">返回</button></div>
            </div>
        </form>
    </div>
{% endblock  %}
